﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alos.Entity;
using Alos.IRepository;
using PetaPoco;

namespace Alos.Repository
{
    public class StudentNoteProblemRepository : BaseRepository<StudentNoteProblem>, IStudentNoteProblemRepository
    {
        /// <summary>
        /// 添加学生疑惑笔记
        /// </summary>
        /// <param name="StudentNoteProblem"></param>
        /// <returns></returns>
        public bool CreateStudentNoteProblem(StudentNoteProblem StudentNoteProblem)
        {
            return Convert.ToInt32(StudentNoteProblem.Insert())>0;
        }
    }
}
